package cn.iocoder.yudao.framework.common.enums.jd;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 京东-回调通知错误码枚举类
 *
 * @author yuxm11
 */
@Getter
@AllArgsConstructor
public enum CallBackNoticeEnum {

    SUCCESS(0, "成功"),
    PARAM_ERROR(2, "参数校验错误"),
    ORDER_NOTHINGNESS(3, "订单不存在"),
    SIGNATURE_ERROR(10, "签名校验错误"),
    IP_WITHOUT_PERMISSION(11, "IP没有权限"),
    QUANTITY_ERROR(12, "数量错误"),
    ORDER_STATUS_ERROR(13, "订单状态错误"),
    STORE_ABSENT(19, "商家不存在"),
    SYSTEM_EXCEPTION(500, "系统异常");

    private final Integer errorCode;
    private final String errorMsg;

}
